//
// Decompiled by Jadx - 468ms
//
package me.plusne.common.Json;

import java.io.Serializable;
import java.util.List;

public class JsonHomeAppList implements Serializable {
    private List<DataBean> data;
    private int regType;
    private int toDay;

    public boolean canEqual(Object obj) {
        return obj instanceof JsonHomeAppList;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof JsonHomeAppList)) {
            return false;
        }
        JsonHomeAppList jsonHomeAppList = (JsonHomeAppList) obj;
        if (!jsonHomeAppList.canEqual(this) || getRegType() != jsonHomeAppList.getRegType() || getToDay() != jsonHomeAppList.getToDay()) {
            return false;
        }
        List<DataBean> data = getData();
        List<DataBean> data2 = jsonHomeAppList.getData();
        return data != null ? data.equals(data2) : data2 == null;
    }

    public List<DataBean> getData() {
        return this.data;
    }

    public int getRegType() {
        return this.regType;
    }

    public int getToDay() {
        return this.toDay;
    }

    public int hashCode() {
        int toDay = getToDay() + ((getRegType() + 59) * 59);
        List<DataBean> data = getData();
        return (toDay * 59) + (data == null ? 43 : data.hashCode());
    }

    public void setData(List<DataBean> list) {
        this.data = list;
    }

    public void setRegType(int i) {
        this.regType = i;
    }

    public void setToDay(int i) {
        this.toDay = i;
    }

    public String toString() {
        return "JsonHomeAppList(data=" + getData() + ", regType=" + getRegType() + ", toDay=" + getToDay() + ")";
    }


    public static class DataBean implements Serializable {
        private String app;
        private String pre;

        public boolean canEqual(Object obj) {
            return obj instanceof DataBean;
        }

        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof DataBean)) {
                return false;
            }
            DataBean DataBean = (DataBean) obj;
            if (!DataBean.canEqual(this)) {
                return false;
            }
            String app = getApp();
            String app2 = DataBean.getApp();
            if (app != null ? !app.equals(app2) : app2 != null) {
                return false;
            }
            String pre = getPre();
            String pre2 = DataBean.getPre();
            return pre != null ? pre.equals(pre2) : pre2 == null;
        }

        public String getApp() {
            return this.app;
        }

        public String getPre() {
            return this.pre;
        }

        public int hashCode() {
            String app = getApp();
            int hashCode = app == null ? 43 : app.hashCode();
            String pre = getPre();
            return ((hashCode + 59) * 59) + (pre != null ? pre.hashCode() : 43);
        }

        public void setApp(String str) {
            this.app = str;
        }

        public void setPre(String str) {
            this.pre = str;
        }

        public String toString() {
            return "JsonHomeAppList.DataBean(app=" + getApp() + ", pre=" + getPre() + ")";
        }
    }
}
